﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BattleShips.Common {
    public interface IGameServer {

        void Challenge(List<uint> idPlayer, Action<ChallengeResponse> onResponse);

        void RegisterChallengeListener(Action<Challenge> onChallenge);
        void RegisterStartGameListener(Action<IBattleShipsGame> onStartGame);

        void AcceptChallenge(uint idChallenge);
        void RejectChallenge(uint idChallenge);

    }
}
